<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>


    </head>
    <body>
        <h2><?php echo $name?>`s Jourvl Profile</h2>
        <?php echo form_open("index.php/profile") ?>
        <table>
            <tr>
                <td>Name : </td>
                <td><?php 
                    $t_name = array(
                        'name' => 'name',
                        'id' => 'name',
                        'value' => $name
                    );
                    echo form_input($t_name); ?>
                </td>
            </tr>
            <tr>
                <td>Email : </td>
                <td><?php 
                    $t_email = array(
                        'name' => 'email',
                        'id' => 'email',
                        'value' => $email,                        
                        'readonly'=>'true'
                    );
                    echo form_input($t_email); ?>
                </td>
            </tr>
            <tr>
                <td>Birth Date : </td>
                <td><?php 
                    $t_date = array(
                        'name' => 'date',
                        'id' => 'date',
                        'value' => $date,
                        'readonly'=>'true'
                    );
                    echo form_input($t_date); ?>
                </td>
            </tr>
            <tr>
                <td>Bio : </td>
                <td><?php 
                    $t_bio = array(
                        'name' => 'bio',
                        'id' => 'bio',
                        'value' => $bio
                    );
                    echo form_textarea($t_bio); ?>
                </td>
            </tr>
            <tr>
                <td></td>
                <td><?php 
                    $update = array(
                        'name' => 'b_submit',
                        'id' => 'update',
                        'value' => 'Update'
                    );
                    $logout = array(
                        'name' => 'b_submit',
                        'id' => 'logout',
                        'value' => 'Logout'
                    );
                    $ResetPass = array(
                        'name' => 'b_submit',
                        'id' => 'reset_pass',
                        'value' => 'Reset Password'
                    );
                    echo form_submit($update);
                    echo form_submit($ResetPass);
                    echo form_submit($logout);
                    ?>
                </td>
            </tr>
        </table>

        <?php echo form_close() ?>
        
    </body>



</html>